from django.urls import path

from . import views
from .views import SimpleApiView
from rest_framework.routers import SimpleRouter
router = SimpleRouter()
# http://127.0.0.1:8000/api/v1/user/userinfo/login/
router.register('userinfo',views.LoginView, 'userinfo')

urlpatterns = [
    path('simple/', SimpleApiView.as_view(), name='simple-api')
]

urlpatterns += router.urls